//
//  BDMHTTPRequestModel.h
//  iJobs
//
//  Created by Li Xiaopeng on 15/1/22.
//  Copyright (c) 2015年 liyingpeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BDMNetworkDef.h"

/*!
 @class
 @abstract http请求数据model
 */
@interface BDMHTTPRequestModel : NSObject

/*!
 @property
 @abstract 请求标识
 */
@property(nonatomic,strong) NSString                *identifier;

/*!
 @property
 @abstract 请求全量url
 */
@property(nonatomic,strong) NSString                *requestUrl;

/*!
 @property
 @abstract 自定义http头
 */
@property(nonatomic,strong) NSMutableDictionary     *customHeader;

/*!
 @property
 @abstract get参数字典
 */
@property(nonatomic,strong) NSMutableDictionary     *paraDict;

/*!
 @property
 @abstract post数据字典
 */
@property(nonatomic,strong) NSMutableDictionary     *postDict;
/*!
 @property
 @abstract 缓存策略
 */
@property(nonatomic)        NSURLRequestCachePolicy cachePolicy;

/*!
 @property
 @abstract 请求方法
 */
@property(nonatomic,copy)       NSString                *requestMethod;

/*!
 @property
 @abstract 请求http体格式类型
 */
@property(nonatomic)        TBDM_HTTP_REQUEST_TYPE  requestType;

/*!
 @property
 @abstract 返回body格式类型
 */
@property(nonatomic)        TBDM_HTTP_RETURN_TYPE   returnType;

/*!
 @property
 @abstract 是否使用SSL
 */
@property(nonatomic)        BOOL                    isUseSSL;

@end
